package com.adobesamples.controller.command
{
  import com.adobesamples.state.ModelState;
  import com.adobesamples.state.model;

  import flash.events.Event;

  public class ResetProductCommand
  {
    private var _model: ModelState;

    public function ResetProductCommand(model: ModelState)
    {
      _model = model;
    }

    public function execute(event:Event): void
    {
      _model.model::resetConfiguration();
    }
  }
}